package com.lianboke.link.ad.common;


/**
 * 公共的参数信息
 * Created by admin on 2017/9/6.
 */

public  class CommonParams {
    //有米日志信息的
    public static final boolean isEnableYoumiLog = true;//有米日志信息开关

    //服务器信息配置
    //========================gial=======================
    private static final String BASE_WEB_URL ="http://www.gia1.top/";
    public static final String YOUMI_APP_ID = "76ec631c65cdbea2";//有米的appid
    public static final String YOUMI_APP_SECRET = "6ce0928e6324dc93";//有米密钥
    public static final String WANPU_APP_ID = "0a8a80c41b5b94bb6492a425964795aa";//万普的appid
    public static final String WANPU_APP_PID = "default";//万普的渠道号

    //===============ew07=============
//    private static final String BASE_WEB_URL ="http://www.ew07.top/";
//    public static final String YOUMI_APP_ID = "b7c0c1cc1a868bc8";//有米的appid
//    public static final String YOUMI_APP_SECRET = "12b105161993af81";//有米密钥
//    public static final String WANPU_APP_ID = "3116a034a76f812ffef9039653b67744";//万普的appid
//    public static final String WANPU_APP_PID = "default";//万普的渠道号


    //服务器地址
    //private static final String BASE_WEB_U RL ="http://www.us02.top/";


    //注册
    public static final String URL_WEB_REGISTER =BASE_WEB_URL+"zhuanqianapi/api/v1/di/registerAccount.do?";

    //登录接口
    public static final String URL_WEB_LOGIN = BASE_WEB_URL+"zhuanqianapi/api/v1/di/allowrun.do?";

    //获取视频信息
    public static final String URL_WEB_SHIPIN = BASE_WEB_URL+ "zhuanqianapi/api/v1/di/paramvalue.do?";

    //升级接口
    public static final String URL_WEB_UPDATE = BASE_WEB_URL+ "zhuanqianapi/api/v1/ai/view.do?";

    //获取类型任务列表数据
    public static final String URL_WEB_TYPE_ORDER_LIST = BASE_WEB_URL+ "zhuanqianapi/api/v1/dt/list.do?";

    //获取类型任务详情接口
    public static final String URL_WEB_TYPE_ORDER_DESTORYS = BASE_WEB_URL+ "zhuanqianapi/api/v1/dt/detail.do?";

    //认领任务接口
    public static final String URL_WEB_TYPE_ORDER_JOIN = BASE_WEB_URL+ "zhuanqianapi/api/v1/dinstall/reportdevicetask.do?";

    //上报任务接口
    public static final String URL_WEB_TYPE_ORDER_REPORTPROCESS = BASE_WEB_URL+ "zhuanqianapi/api/v1/dinstall/reportprocess.do?";

    //获取互粉接口
    public static final String URL_WEB_TYPE_ORDER_HUZHU_FANS =BASE_WEB_URL+ "zhuanqianapi/api/v1/da/findaccount.do?";

    //提交互助账号信息
    public static final String URL_WEB_ORDER_TASK_SHIPIN_ADD_ACCOUNT =BASE_WEB_URL+ "zhuanqianapi/api/v1/da/submit.do?";

    //获取用户信息接口
    public static final String URL_WEB_GET_USER_FIND_ACCOUNT =BASE_WEB_URL+ "zhuanqianapi/api/v1/di/findAccount.do?";

    //发起提现接口
    public static final String URL_WEB_SUBMIT_DRAW_MONEY =BASE_WEB_URL+ "zhuanqianapi/api/v1/di/submitdrawmoney.do?";

    //公告地址
    public static final String URL_WEB_NOTE_URL =BASE_WEB_URL+ "zhuanqianapi/api/v1/di/content.do?";

    //上传图片
    public static final String URL_WEB_OREDER_TASK_UPLOAD_IMG = BASE_WEB_URL+ "zhuanqianapi/api/v1/dt/submitpic.do";

    //提交任务
    public static final String URL_WEB_OREDER_TASK_SUBMINT = BASE_WEB_URL+ "zhuanqianapi/api/v1/dt/submittask.do?";

    //积分兑换接口
    public static final String URL_WEB_JIFEN_EXCHANGE = BASE_WEB_URL+"zhuanqianapi/api/v1/di/jifendeal.do?";

    public static class CheckUpdateParams{
        public static final int TIMER_DELAY_TIME = 1000*2;
        public static final int TIMER_PERIOD_TIME = 1000*60*60*2;
    }

    /**
     * 下载文件的
     */
    public static class DownLoadFileParams{
        public static final String FILE_DOWNLOAD_DIRS = "chuanboke_videos";//视频文件地址
        public static final String APP_DOWNLOAD_DIRS = "lianbokedown";//下载app 地址
    }

    /**
     * 定时任务公共参数
     */
    public static class TimerParams{
        public static final int TIMER_ORDER_START_REQUEST_CODE = 3001;//定时任务的code
        public static final String TIMER_ORDER_START_ACTION = "com.lianboke.link.ad.timerorder.start";//定时任务action
        public static final String TIMER_ORDER_STOP_ACTION = "com.lianboke.link.ad.timerorder.stop";//定时任务action
        public static final long TIMER_ORDER_DELAY_TIME = 1000*1;//1秒钟
        public static final long TIMER_ORDER_PERIOD_TIME = 1000*60*5;//5分钟
    }

}
